/*
package com.xiaoluyy.demo.config;

import com.xiaoluyy.common.beanstalkd.client.BeanstalkdClientPool;
import com.xiaoluyy.demo.core.service.DeliveryConsumerThread;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

*/
/**
 * Created by tercel on 2015/10/16.
 *//*

@Configuration
public class DeliveryConsumer {

    */
/*@Autowired
    private BeanstalkdClientPool couponPushClientPool;*//*


    @Autowired
    private DeliveryConsumerThread deliveryConsumerThread;

    @Bean
    public int threadStart() {
        //DeliveryConsumerThread deliveryConsumerThread = new DeliveryConsumerThread();
        //deliveryConsumerThread.setCouponPushClientPool(couponPushClientPool);
        Thread thread = new Thread(deliveryConsumerThread);
        thread.start();
        return 0;
    }
}
;
*/
